﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ManagerInterface.Master" AutoEventWireup="true" CodeBehind="CreateSession.aspx.cs" Inherits="spktNhom4DoAnCuoiKy.ManagerModules.CreateSession" %>
<%@ Register Src="~/DateTimePicker.ascx" TagName="DateTimePicker" TagPrefix="dtp" %>
<%@ Register assembly="CurrencyTextBox" namespace="SKP.ASP.Controls" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style3
        {
            width: 100%;
            height: 223px;
        }
        .invisible
        {
            display: none;
            float:right;
            padding-right:10px;
            
        }
        .style4
        {
            width: 100%;
        }
        .style5
        {
            text-align: left;
            height: 30px;
            padding-left: 5px;
            font-weight: bold;
            width: 142px;
        }
    </style>
    
    <link rel="stylesheet" type="text/css" href="css/CreateSession.css" />
     <link rel="stylesheet" type="text/css" href="/Styles/Popupstyle.css" />
     
   <script type="text/javascript" src="../Scripts/jquery-1.9.1.min.js"></script>
   <script type="text/javascript" src="../Scripts/custom.popup.js"></script>
   <script type="text/javascript" language="javascript">
       function closePanel() {
           alert("fds");

       }
       function inform() {
           //alert($("#pnInform").attr("visibility"));
           $("#<%= pnInform.ClientID %>").fadeIn("fast").delay(1500).fadeOut("slow");


       }

       function DoPostBack(obj) {
           __doPostBack(obj.id, 'OtherInformation');
       }
       $("#<%=btnTaoMoi.ClientID%>").submit(function () {
           return confirm("sure?");

       });
   </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
    <table cellpadding="0" cellspacing="5" class="style3">
        <tr>
            <td align="left"  height="40"

            style=" padding-left:10px;
              background: -moz-linear-gradient(top,  rgba(136,191,232,0.39) 0%, rgba(136,191,232,0.39) 1%, rgba(112,176,224,0.38) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(136,191,232,0.39)), color-stop(1%,rgba(136,191,232,0.39)), color-stop(100%,rgba(112,176,224,0.38))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(136,191,232,0.39) 0%,rgba(136,191,232,0.39) 1%,rgba(112,176,224,0.38) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(136,191,232,0.39) 0%,rgba(136,191,232,0.39) 1%,rgba(112,176,224,0.38) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(136,191,232,0.39) 0%,rgba(136,191,232,0.39) 1%,rgba(112,176,224,0.38) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(136,191,232,0.39) 0%,rgba(136,191,232,0.39) 1%,rgba(112,176,224,0.38) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6388bfe8', endColorstr='#6170b0e0',GradientType=0 ); /* IE6-9 */
          
            
            ">
            <asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:String,cs_ThongTinPhien  %>" ></asp:Literal>
            <asp:Panel ID="pnInform" runat="server" CssClass="style_search_textbox invisible"
                Height="21px">
                &nbsp; &nbsp;<asp:Image ID="Image2" runat="server" Height="20px" ImageUrl="~/images/check_mark_green.gif"
                    Width="20px" />
                <asp:Label ID="Label2" runat="server" Text="<%$ Resources:String,cs_LuuXong  %>"></asp:Label>
            </asp:Panel>
                
                </td>
            <td align="center" style="
              background: -moz-linear-gradient(top,  rgba(136,191,232,0.39) 0%, rgba(136,191,232,0.39) 1%, rgba(112,176,224,0.38) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(136,191,232,0.39)), color-stop(1%,rgba(136,191,232,0.39)), color-stop(100%,rgba(112,176,224,0.38))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(136,191,232,0.39) 0%,rgba(136,191,232,0.39) 1%,rgba(112,176,224,0.38) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(136,191,232,0.39) 0%,rgba(136,191,232,0.39) 1%,rgba(112,176,224,0.38) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(136,191,232,0.39) 0%,rgba(136,191,232,0.39) 1%,rgba(112,176,224,0.38) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(136,191,232,0.39) 0%,rgba(136,191,232,0.39) 1%,rgba(112,176,224,0.38) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6388bfe8', endColorstr='#6170b0e0',GradientType=0 ); /* IE6-9 */
          ">
                <asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:String,cs_ThongTinSanPham  %>"></asp:Literal>
                </td>
        </tr>
        <tr>
            <td rowspan="3">
            
                <table cellpadding="0" cellspacing="4" class="style3">
                    <tr>
                        <td class="style5">
                            <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:String,cs_NhomPhien  %>"></asp:Literal>
                            </td>
                        <td width="300px">
                            <asp:DropDownList ID="ddlNhomPhien" runat="server" Height="30px" Width="150px" 
                                AutoPostBack="True" onselectedindexchanged="ddlNhomPhien_SelectedIndexChanged">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:String,cs_LoaiPhien  %>"></asp:Literal>
                            </td>
                        <td>
                            <asp:DropDownList ID="ddlLoaiPhien" runat="server" Height="30px" Width="149px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:String,cs_SanPham  %>"></asp:Literal>
                            </td>
                        <td>
                            <asp:TextBox ID="txtSanPham" runat="server" Height="25px" Width="150px" 
                                ReadOnly="True"></asp:TextBox>
                            <asp:HyperLink ID="hlTim" runat="server" NavigateUrl="#" 
                                Text="<%$ Resources:String,cs_Tim %>" CssClass="popup"></asp:HyperLink>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ControlToValidate="txtNguoiBan" ErrorMessage=" (*)" ForeColor="Red" 
                                ValidationGroup="Group1"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:String,cs_NguoiBan  %>"></asp:Literal>
                            </td>
                        <td>
                            <asp:TextBox ID="txtNguoiBan" runat="server" Height="25px" Width="150px" 
                                ontextchanged="txtNguoiBan_TextChanged"></asp:TextBox>

 <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                                                        <asp:Button ID="btnKiemTra" runat="server" Text="<%$ Resources:String,cs_KiemTra  %>" Height="30px" 
                                onclick="btnKiemTra_Click" />
                           
                            
                                <asp:Label ID="lblThongBao" runat="server" 
                                Visible="False"></asp:Label>
                                </ContentTemplate>
                            <Triggers>
                            <asp:AsyncPostBackTrigger ControlID="btnKiemTra" />
                            </Triggers>
                            </asp:UpdatePanel>
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:String,cs_ThoiGianBatDau  %>"></asp:Literal>
                           
                          
                            </td>
                        <td>
                            
                             <dtp:DateTimePicker runat="server" ID="txtThoiGianBatDau" Height="25px" 
                                 ClientIDMode="Inherit" ValidationGroup="Group1" />
                             </td>
                    </tr>

                    <tr>
                        <td class="style5">
                           <asp:Literal ID="Literal24" runat="server" Text="<%$ Resources:String,cs_ThoiGianKetThuc  %>"></asp:Literal></td>
                        <td>
                            
                          <dtp:DateTimePicker runat="server" ID="txtThoiGianKetThuc" Height="25px" 
                                 ClientIDMode="Inherit" ValidationGroup="Group1" /></td>
                    </tr>

                    <tr>
                        <td class="style5">
                            <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:String,cs_ThoiGianHuyPhienDauGia  %>"></asp:Literal>
                            </td>
                        <td>
                            
                          <dtp:DateTimePicker runat="server" ID="txtThoiGianHuyPhien" Height="25px" 
                                 ClientIDMode="Inherit" ValidationGroup="Group1" />
                           
                        </td>
                    </tr>

                    <tr>
                        <td class="style5">
                            &nbsp;</td>
                        <td>
                             <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                        <ContentTemplate>
                            <asp:Button ID="btnKiemTraNgay" runat="server" Height="30px" 
                                Text="Kiểm tra ngày hợp lệ" Width="142px" onclick="btnKiemTraNgay_Click" />
                          
                            <asp:Label ID="lblLoiNgay" runat="server" ForeColor="Red" Visible="False"></asp:Label>
                           </ContentTemplate>
                        <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="btnKiemTraNgay" />
                        </Triggers>
                        </asp:UpdatePanel>
                            
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:String,cs_GiaSan  %>"></asp:Literal>
                            </td>
                        <td>
                            <cc1:CurrencyTextBox ID="txtGiaSan" runat="server" Height="25px" Width="150px"></cc1:CurrencyTextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                ControlToValidate="txtGiaSan" ErrorMessage="(*)" ForeColor="Red" 
                                Display="Dynamic" ValidationGroup="Group1"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:String,cs_GiaTran  %>"></asp:Literal>
                            </td>
                        <td>
                            <cc1:CurrencyTextBox ID="txtGiaTran" runat="server" Height="25px" Width="150px"></cc1:CurrencyTextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                ControlToValidate="txtGiaTran" ErrorMessage="(*)" ForeColor="Red" 
                                Display="Dynamic" ValidationGroup="Group1"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:String,cs_BuocGia  %>"></asp:Literal>
                            </td>
                        <td>
                            <cc1:CurrencyTextBox ID="txtBuocGia" runat="server" Height="25px" 
                                Width="150px"></cc1:CurrencyTextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                ControlToValidate="txtBuocGia" ErrorMessage="(*)" ForeColor="Red" 
                                Display="Dynamic" ValidationGroup="Group1"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            &nbsp;</td>
                        <td>
                        <asp:UpdatePanel runat="server" UpdateMode="Conditional">
                        <ContentTemplate>
                        
                        
                            <asp:Button ID="btnKiemTraGia" runat="server" Height="30px" 
                                Text="Kiểm tra giá hợp lệ" Width="142px" onclick="btnKiemTraGia_Click" />
                          
                            <asp:Label ID="lblLoiGia" runat="server" ForeColor="Red" Visible="False"></asp:Label>
                            </ContentTemplate>
                        <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="btnKiemTraGia" />
                        </Triggers>
                        </asp:UpdatePanel>
                            
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:String,cs_HinhThucVanChuyen  %>"></asp:Literal>
                            </td>
                        <td align="left">
                            <asp:CheckBoxList ID="cblHinhThucVanChuyen" runat="server">
                            </asp:CheckBoxList>
                            <br />
                        </td>
                    </tr>
                    <tr>
                        <td align="left" colspan="2">
                          
                            <asp:Label ID="lblLoi" runat="server" ForeColor="Red" Visible="False"></asp:Label>
                            </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            
                        
                            
                        </td>
                        <td>
                            <asp:Button ID="btnTaoMoi" runat="server" Height="30px" Text="<%$ Resources:String,cs_TaoMoi  %>" 
                                Width="106px" onclick="btnTaoMoi_Click" ValidationGroup="Group1" 
                            />
                            <ajaxToolkit:ConfirmButtonExtender ID="btnTaoMoi_ConfirmButtonExtender" 
                                runat="server" ConfirmText="Vui lòng kiểm tra thông tin trước khi tạo?" 
                                Enabled="True" TargetControlID="btnTaoMoi">
                            </ajaxToolkit:ConfirmButtonExtender>
                            <asp:Button ID="btnHuy" runat="server" Height="30px" 
                                Text="<%$ Resources:String,cs_Huy  %>" Width="81px" onclick="btnHuy_Click" />
                        </td>
                    </tr>
                </table>
               
            </td>
            <td align="center" valign="top" width="400px" style="vertical-align:top;height:auto;">
                <table cellpadding="0" class="style3" align="left" cellspacing="4" style="
                background: rgb(227,233,237); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(227,233,237,1) 2%, rgba(237,237,237,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(2%,rgba(227,233,237,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(227,233,237,1) 2%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(227,233,237,1) 2%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(227,233,237,1) 2%,rgba(237,237,237,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(227,233,237,1) 2%,rgba(237,237,237,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3e9ed', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */

                ">
                    <tr>
                        <td align="left" style="padding-left: 5px; font-weight: bold;" width="120">
                            <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:String,cs_TenSanPham  %>"></asp:Literal>
                            </td>
                        <td>
                            <asp:Label ID="lblTenSanPham" runat="server" Text="Label"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" style="padding-left: 5px; font-weight: bold;">
                            <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:String,cs_SoLuong  %>"></asp:Literal>
                          </td>
                        <td>
                            <asp:Label ID="lblSoLuong" runat="server" Text="Label"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="left" style="padding-left: 5px; font-weight: bold;">
                            <asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:String,cs_MoTa  %>"></asp:Literal>
                            </td>
                        <td>
                            <asp:Label ID="lblMoTa" runat="server" Text="Label"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" style="padding-left: 5px; font-weight: bold;">
                            <asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:String,cs_XuatXu  %>"></asp:Literal>
                            </td>
                        <td>
                            <asp:Label ID="lblXuatXu" runat="server" Text="Label"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" style="padding-left: 5px; font-weight: bold;">
                            <asp:Literal ID="Literal16" runat="server" Text="<%$ Resources:String,cs_GhiChu  %>"></asp:Literal>
                            </td>
                        <td>
                            <asp:Label ID="lblGhiChu" runat="server" Text="Label"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" style="padding-left: 5px; font-weight: bold;">
                            <asp:Literal ID="Literal19" runat="server" Text="<%$ Resources:String,cs_HinhAnh  %>"></asp:Literal>
                            </td>
                        <td>
                            <asp:Image ID="ImgHinhAnh" runat="server" Height="100px" Width="100px" /></td>
                    </tr>
                </table>
              
            </td>
            
        </tr>
        <tr>
        <td align="left"  height="40"

            style=" padding-left:10px;
              background: -moz-linear-gradient(top,  rgba(136,191,232,0.39) 0%, rgba(136,191,232,0.39) 1%, rgba(112,176,224,0.38) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(136,191,232,0.39)), color-stop(1%,rgba(136,191,232,0.39)), color-stop(100%,rgba(112,176,224,0.38))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(136,191,232,0.39) 0%,rgba(136,191,232,0.39) 1%,rgba(112,176,224,0.38) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(136,191,232,0.39) 0%,rgba(136,191,232,0.39) 1%,rgba(112,176,224,0.38) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(136,191,232,0.39) 0%,rgba(136,191,232,0.39) 1%,rgba(112,176,224,0.38) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(136,191,232,0.39) 0%,rgba(136,191,232,0.39) 1%,rgba(112,176,224,0.38) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6388bfe8', endColorstr='#6170b0e0',GradientType=0 ); /* IE6-9 */
          ">Thông Tin Server</td>
        </tr>
        <tr>
        <td style="
       
                background: rgb(227,233,237); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(227,233,237,1) 2%, rgba(237,237,237,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(2%,rgba(227,233,237,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(227,233,237,1) 2%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(227,233,237,1) 2%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(227,233,237,1) 2%,rgba(237,237,237,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(227,233,237,1) 2%,rgba(237,237,237,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3e9ed', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */

                ">
                
                
                <table cellpadding="2" cellspacing="3" class="style4">
                    <tr>
                        <td>
                            <asp:Literal ID="Literal20" runat="server" Text="<%$ Resources:String,cs_TenServer  %>"></asp:Literal></td>
                        <td>
                            <asp:Label ID="lblTenServer" runat="server" Text="Label"></asp:Label></td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Literal ID="Literal21" runat="server" Text="<%$ Resources:String,cs_DiaChiServer  %>"></asp:Literal> </td>
                        <td>
                            <asp:Label ID="lblDiaChiServer" runat="server" Text="Label"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Literal ID="Literal22" runat="server" Text="<%$ Resources:String,cs_MaServer  %>"></asp:Literal> </td>
                        <td>
                            <asp:Label ID="lblMaServer" runat="server" Text="Label"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Literal ID="Literal23" runat="server" Text="<%$ Resources:String,cs_MoTaServer  %>"></asp:Literal> </td>
                        <td>
                            <asp:Label ID="lblMoTaServer" runat="server" Text="Label"></asp:Label>
                        </td>
                    </tr>
                </table>
                
                
                </td>
        </tr>
    </table>


   
   
    <div class="popupbox2" id="popuprel2">
<a id="close" href="#">
<img alt="Đóng" src="../images/close.jpg"/>
</a>
<div id="intabdiv2" align="left">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always" 
        onload="UpdatePanel1_Load">
    
        <ContentTemplate>
           
  
 <p>
 <asp:TextBox ID="txtTimKiem" runat="server" Height="25px" Width="200px"></asp:TextBox>
 <asp:Literal ID="Literal4" runat="server" Text=" "></asp:Literal>
 <asp:ImageButton
     ID="btnTimKiem" ImageUrl="~/images/search.jpg" runat="server" Height="30px" Width="30px"
         onclick="btnTimKiem_Click" />
 </p>
    <asp:GridView ID="gvSanPham" runat="server" AutoGenerateColumns="False"
        onselectedindexchanged="gvSanPham_SelectedIndexChanged" 
        HorizontalAlign="Left" Width="900px" AllowPaging="True" PageSize="3" onpageindexchanging="gvSanPham_PageIndexChanging" 
                >
        <Columns>
            <asp:CommandField SelectText="<%$ Resources:String,cs_Chon  %>" ShowSelectButton="True" >
            <ControlStyle Width="50px" />
            </asp:CommandField>
            <asp:TemplateField HeaderText="<%$ Resources:String,cs_HinhAnh  %>" SortExpression="HinhAnh">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("HinhAnh") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Image ID="Image2" runat="server" Height="100px" 
                        ImageUrl='<%# Eval("HinhAnh","/{0}") %>' Width="100px" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="MaSanPham" HeaderText="<%$ Resources:String,cs_MaSanPham  %>" ReadOnly="True" 
                SortExpression="MaSanPham" />
            <asp:BoundField DataField="TenSanPham" HeaderText="<%$ Resources:String,cs_TenSanPham  %>" 
                SortExpression="TenSanPham" />
            <asp:BoundField DataField="SoLuong" HeaderText="<%$ Resources:String,cs_SoLuong  %>" />
            <asp:BoundField DataField="MoTaTinhTrang" HeaderText="<%$ Resources:String,cs_TinhTrang  %>" 
                SortExpression="MoTaTinhTrang" />
            <asp:BoundField DataField="GiaThamDinh" HeaderText="<%$ Resources:String,cs_GiaThamDinh  %>" 
                SortExpression="GiaThamDinh" />
        </Columns>
        <EditRowStyle HorizontalAlign="Center" />
    </asp:GridView>
           
          <asp:SqlDataSource ID="SqlDataSourceAuctionOnline" runat="server" 
        ConnectionString="<%$ ConnectionStrings:spktNhom4DauGiaConnectionString %>" 
        
                SelectCommand="SELECT SanPham.HinhAnh, SanPham.MaSanPham, SanPham.TenSanPham, TinhTrangSanPham.MoTaTinhTrang, SanPham.GiaThamDinh FROM SanPham INNER JOIN TinhTrangSanPham ON SanPham.TinhTrangSanPham = TinhTrangSanPham.MaTinhTrang WHERE (SanPham.TenSanPham LIKE '%@value%')">
    <SelectParameters>
    <asp:Parameter Name="value" DefaultValue="" />
    </SelectParameters>
    </asp:SqlDataSource>
    
    <asp:Timer ID="Timer1" runat="server" Enabled="False" Interval="1" 
                ontick="Timer1_Tick" ViewStateMode="Enabled">
                
        </asp:Timer>
          </ContentTemplate>
        <Triggers>
        <asp:PostBackTrigger ControlID="Timer1" />
        </Triggers>
    </asp:UpdatePanel>
          </div>
</div>
<div id="fade"></div>

</asp:Content>

